Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for OKE Infra and Service Log Collection #100

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

paliwalparitosh
Copy link
Collaborator

No description provided.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Dec 4, 2024
charts/logan/templates/discovery-cronjob.yaml Show resolved Hide resolved
charts/logan/templates/discovery-cronjob.yaml Show resolved Hide resolved
charts/logan/values.yaml Show resolved Hide resolved
terraform/modules/iam/iam.tf Show resolved Hide resolved
terraform/modules/iam/iam.tf Show resolved Hide resolved
terraform/modules/iam/iam.tf Show resolved Hide resolved
terraform/modules/iam/iam.tf Show resolved Hide resolved
# Compartment of Logging LogGroup is not known at the time of policy creation via stack
# We assume that Logging Log Groups are only created in either OKE or ONM compartments
service_discovery_stmt = var.create_service_discovery_policies ? distinct([
"Allow dynamic-group ${local.dynamic_group_name} to manage log-groups in ${local.onm_compartment_scope}",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Validate the case/behaviour of Service Stack, when the underlying resource/corresponding log/logGroup deleted

"Allow dynamic-group ${local.dynamic_group_name} to manage log-groups in ${local.onm_compartment_scope}",
"Allow dynamic-group ${local.dynamic_group_name} to manage log-groups in ${local.oke_compartment_scope}",

"Allow dynamic-group ${local.dynamic_group_name} to read log-content in ${local.onm_compartment_scope}",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets put a where clause to restrict this policy to service connector resource if that is sufficient

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants